package pers.chao.tool.infrastructure.kv;

/**
 * Description: 普通键值对
 *
 * @author W.Chao
 * @date 2020/12/3 0:26
 **/
public class Tuple {
	private Object key;
	private Object value;

	public Tuple() {
	}

	public Tuple(Object key, Object value) {
		this.key = key;
		this.value = value;
	}

	public Object getKey() {
		return key;
	}

	public Tuple setKey(Object key) {
		this.key = key;
		return this;
	}

	public Object getValue() {
		return value;
	}

	public Tuple setValue(Object value) {
		this.value = value;
		return this;
	}

	public static Tuple create(Object key, Object value) {
		return new Tuple(key, value);
	}
}
